import { ref } from 'vue';

export interface ListItem {
  title: string;
  icon: string;
  component: any;
}
export const showSetting = ref(false);
export const currentSetting = ref<ListItem>();
export const gobackSetting = () => {
  showSetting.value = false;
};
export const typeList = [
  {
    title: '个人',
    value: 'solo',
  },
  {
    title: '群组',
    value: 'group',
  },
  {
    title: '公众号',
    value: 'system',
  },
];
